package com.baijiaoxi.common.model.headerfiller;

import com.baijiaoxi.common.model.aspect.HeaderName;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;

@Target(METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface FillByHeaders {
    HeaderName[] value() default {HeaderName.WeAppId};

    String[] userIdAlias() default {};

    String[] userIdAliasIFNull() default {};

    String[] otherStringProperty() default {};

    String[] otherStringPropertyIFNull() default {};

    String[] otherLongProperty() default {};

    String[] otherLongPropertyIFNull() default {};

    String[] otherIntegerProperty() default {};

    String[] otherIntegerPropertyIFNull() default {};

}
